package com.yzd.learnjava.enumerated;

import com.yzd.learnjava.util.Print;

public class Burrito {
	Spiciness degree;
	public Burrito(Spiciness degree) {
		this.degree = degree;
	}
	
	public String toString() {
		return "Burrito is " + degree;
	}
	
	public static void main(String[] args) {
		Print.print(new Burrito(Spiciness.NOT));
		Print.print(new Burrito(Spiciness.MEDIUM));
		Print.print(new Burrito(Spiciness.HOT));
	}
}
